package com.wuzhen.wzzt.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

@Table(name = "active_info")
public class ActiveInfo {
    @Id
    private String id;

    /**
     * 活动标题
     */
    @Column(name = "active_title")
    private String activeTitle;

    /**
     * 活动内容描述
     */
    @Column(name = "active_desc")
    private String activeDesc;

    /**
     * 活动类型
     */
    @Column(name = "active_type")
    private String activeType;


    /**
     * 开始日期
     */
    @Column(name = "active_start_date")
    private String activeStartDate;


    /**
     * 结束日期
     */
    @Column(name = "active_end_date")
    private String activeEndDate;



    /**
     * 开始日期
     */
    @Column(name = "enroll_start_date")
    private String enrollStartDate;


    /**
     * 结束日期
     */
    @Column(name = "enroll_end_date")
    private String enrollEndDate;


    /**
     * 活动图片地址
     */
    @Column(name = "active_pic_url")
    private String activePicUrl;


    /**
     * 首页活动图片地址
     */
    @Column(name = "active_frist_pic_url")
    private String activeFristPicUrl;

    /**
     * 明细图片
     */
    @Column(name = "lp_files_name")
    private String lpFilesName;

    /**
     * 首页图片
     */
    @Column(name = "fp_files_name")
    private String fpFilesName;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 活动地址
     */
    @Column(name = "address")
    private String address;



    /**
     * 是否需要报名
     */
    @Column(name = "is_enroll")
    private String isEnroll;


    /**
     * 报名状态
     */
    private String enrollStatus;


    private double lng;
    private double lat;

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }


    public String getIsEnroll() {
        return isEnroll;
    }

    public void setIsEnroll(String isEnroll) {
        this.isEnroll = isEnroll;
    }

    public List<String> getListLpNames() {
        return listLpNames;
    }

    public void setListLpNames(List<String> listLpNames) {
        this.listLpNames = listLpNames;
    }

    /**
     * 明细图片
     */
    private List<String> listLpNames ;

    public String getLpFilesName() {
        return lpFilesName;
    }

    public void setLpFilesName(String lpFilesName) {
        this.lpFilesName = lpFilesName;
    }

    public String getFpFilesName() {
        return fpFilesName;
    }

    public void setFpFilesName(String fpFilesName) {
        this.fpFilesName = fpFilesName;
    }

    public String getLsFilesName() {
        return lsFilesName;
    }

    public void setLsFilesName(String lsFilesName) {
        this.lsFilesName = lsFilesName;
    }

    /**
     * 列表图
     */
    @Column(name = "ls_files_name")
    private String lsFilesName;

    @Column(name = "live_url")
    private String liveUrl;

    @Column(name = "live_type")
    private Integer liveType;

    @Column(name = "live_on")
    private Boolean liveOn;

    public String getLiveUrl() {
        return liveUrl;
    }

    public void setLiveUrl(String liveUrl) {
        this.liveUrl = liveUrl;
    }

    public Integer getLiveType() {
        return liveType;
    }

    public void setLiveType(Integer liveType) {
        this.liveType = liveType;
    }

    public Boolean getLiveOn() {
        return liveOn;
    }

    public void setLiveOn(Boolean liveOn) {
        this.liveOn = liveOn;
    }

    /**
     * 二维码
     */

    private String qrCode;

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }
    /**
     * 活动状态
     */
    @Column(name = "status")
    private String status;

    public String getActiveFristPicUrl() {
        return activeFristPicUrl;
    }

    public void setActiveFristPicUrl(String activeFristPicUrl) {
        this.activeFristPicUrl = activeFristPicUrl;
    }

    public String getIsFristPage() {
        return isFristPage;
    }

    public void setIsFristPage(String isFristPage) {
        this.isFristPage = isFristPage;
    }

    /**
     * 是否首页展示
     */
    @Column(name = "is_frist_page")
    private String isFristPage;

    public String getEnrollStatus() {
        return enrollStatus;
    }


    /**
     * 用户是否已报名状态
     */
    private String isUserEnrollStatus;


    private EnrollUser enrollUser;

    public void setEnrollStatus(String enrollStatus) {
        this.enrollStatus = enrollStatus;
    }

    public String getActiveStatus() {
        return activeStatus;
    }

    public void setActiveStatus(String activeStatus) {
        this.activeStatus = activeStatus;
    }

    private String activeStatus;

    public String getEnrollStartDate() {
        return enrollStartDate;
    }

    public void setEnrollStartDate(String enrollStartDate) {
        this.enrollStartDate = enrollStartDate;
    }

    public String getEnrollEndDate() {
        return enrollEndDate;
    }

    public void setEnrollEndDate(String enrollEndDate) {
        this.enrollEndDate = enrollEndDate;
    }

    public String getIsUserEnrollStatus() {
        return isUserEnrollStatus;
    }

    public void setIsUserEnrollStatus(String isUserEnrollStatus) {
        this.isUserEnrollStatus = isUserEnrollStatus;
    }

    public EnrollUser getEnrollUser() {
        return enrollUser;
    }

    public void setEnrollUser(EnrollUser enrollUser) {
        this.enrollUser = enrollUser;
    }

    @Override
    public String toString() {
        return "ActiveInfo{" +
                "id='" + id + '\'' +
                ", activeTitle='" + activeTitle + '\'' +
                ", activeDesc='" + activeDesc + '\'' +
                ", activeType='" + activeType + '\'' +
                ", activeStartDate=" + activeStartDate +
                ", activeEndDate=" + activeEndDate +
                ", activePicUrl='" + activePicUrl + '\'' +
                ", activeFristPicUrl='" + activeFristPicUrl + '\'' +
                ", status='" + status + '\'' +
                ", isFristPage='" + isFristPage + '\'' +
                '}';
    }

    public String getActiveTitle() {
        return activeTitle;
    }

    public void setActiveTitle(String activeTitle) {
        this.activeTitle = activeTitle;
    }

    public String getActiveDesc() {
        return activeDesc;
    }

    public void setActiveDesc(String activeDesc) {
        this.activeDesc = activeDesc;
    }

    public String getActiveType() {
        return activeType;
    }

    public void setActiveType(String activeType) {
        this.activeType = activeType;
    }

    public String getActiveStartDate() {
        return activeStartDate;
    }

    public void setActiveStartDate(String activeStartDate) {
        this.activeStartDate = activeStartDate;
    }

    public String getActiveEndDate() {
        return activeEndDate;
    }

    public void setActiveEndDate(String activeEndDate) {
        this.activeEndDate = activeEndDate;
    }

    public String getActivePicUrl() {
        return activePicUrl;
    }

    public void setActivePicUrl(String activePicUrl) {
        this.activePicUrl = activePicUrl;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

//    public Date getCreateTime() {
//        return createTime;
//    }
//
//    public void setCreateTime(Date createTime) {
//        this.createTime = createTime;
//    }
//
//    public Date getUpdateTime() {
//        return updateTime;
//    }
//
//    public void setUpdateTime(Date updateTime) {
//        this.updateTime = updateTime;
//    }



    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }


}